package de.gameduell.framework.asset {
	import flash.display.Sprite;
	
	import de.gameduell.framework.asset.BinaryAsset;	

	/**
	 * @author GD
	 */
	public class SWFAsset extends BinaryAsset {

		public function SWFAsset(aId:String, aUrl:String,useSameDomain:Boolean = true) {
			super(aId, aUrl,useSameDomain);
		}
		
		public function get sprite():Sprite{
			return Sprite(_loader.content);
		}
		
		public function get content():Object{
			return _loader.content;
		}
	}
}
